package com.gemini.collect.constraint;

import java.util.Collection;

/**
 * 聚合map支持
 */
public interface Multimap<K, V> {

    int size();

    boolean isEmpty();

    boolean containsKey(K key);

    boolean containsValue(V value);

    boolean containsEntry(K key, V value);

    boolean put(K key, V value);

    Collection<V> get(K key);


}
